Software Development
Building Web Services with Java
Java Web Services: Building REST APIs
Java Web Services: Enabling CRUD Operations with REST APIs
Java Web Services: Getting Started with SOAP-based Web Services
Java Web Services: Integrating Web Services with a Database

Java Web Services: Building REST APIs

Course Number:
it_jpbwsjdj_03_enus
Lesson Objectives

Java Web Services: Building REST APIs

  • discover the key concepts covered in this course
  • set up a web application with Maven and configure a POM file for a RESTful app
  • use the Jersey framework to define a method that responds to GET requests
  • consume a REST API by sending a GET request and processing its response
  • configure return types in REST API methods
  • define REST API methods that return Java objects in the form of JSON data
  • recognize how the Jersey framework transforms Java objects to the JSON format
  • summarize the key concepts covered in this course

Overview/Description
Web services for Java applications based on the REST architectural style allow you to communicate with external apps in a standardized and scalable manner independent of the programming language. This course demonstrates using the Jersey framework to build REST APIs in Java. Begin by implementing a simple method that returns data in response to a GET request. While doing so, explore the use of Jersey annotations to construct a URL to a particular web method and set it to respond to GET requests. As you advance, construct a response to incoming requests that includes HTTP status codes. Furthermore, examine the transmission of Java objects in the form of JSON structures as a response to an HTTP request. When you're done, you'll be able to use Java to build RESTful applications that can respond to HTTP GET requests.

Target

Prerequisites: none

Java Web Services: Enabling CRUD Operations with REST APIs

Course Number:
it_jpbwsjdj_04_enus
Lesson Objectives

Java Web Services: Enabling CRUD Operations with REST APIs

  • discover the key concepts covered in this course
  • connect to a database from a RESTful Java application
  • send GET requests to a RESTful app for data stored in a database
  • add records to a database table by means of a POST request
  • update data on a database by implementing a PUT request
  • delete data on a database by processing a DELETE request
  • summarize the key concepts covered in this course

Overview/Description
Web services for Java applications based on the REST technology provide a normalized and scalable means to set up client communication with external applications. This course demonstrates how to integrate RESTful applications with a relational database so that clients can interact with it and perform create, read, update, and delete (CRUD) operations on it. Learn how to link a MySQL database with a RESTful app. Set it up to respond to a GET request by looking up a table in your database. Advancing from read operations, establish add, update, and delete operations, defining methods that can respond to POST, PUT, and DELETE requests. By the end of the course, you'll be able to facilitate your clients to use your web service app to interact with a database.

Target

Prerequisites: none

Java Web Services: Getting Started with SOAP-based Web Services

Course Number:
it_jpbwsjdj_01_enus
Lesson Objectives

Java Web Services: Getting Started with SOAP-based Web Services

  • discover the key concepts covered in this course
  • install Maven and use it to create a web service app
  • explore the pom.xml file in a Maven project and set it up to use JAX-WS
  • define a web service method that responds to a request by returning text
  • describe the WSDL file for a web service and recognize its properties
  • develop and run a client application that consumes a web service
  • set up an endpoint interface for your web service application
  • summarize the key concepts covered in this course

Overview/Description
If you work on a team offering data or services to clients, you'll likely need to build web services. The most widely adopted technologies for Java-based web services are SOAP and REST, as they allow standardized, scalable, and language-independent external application communication. Use this course shows to learn how to build a web service that adopts the SOAP protocol. Use Maven to create a web service project and the JAX-WS library to build a web service class and a method that remote client applications can invoke. Then, deploy this service to a URL endpoint where clients can access it. Next, explore the automatically generated JAX-WS artifacts, including the WSDL file. Then, use the WSDL file to build a client application and interact with the server-side web service. Bu the end of this course, you'll be able to build SOAP-based web services using JAX-WS and Maven.

Target

Prerequisites: none

Java Web Services: Integrating Web Services with a Database

Course Number:
it_jpbwsjdj_02_enus
Lesson Objectives

Java Web Services: Integrating Web Services with a Database

  • discover the key concepts covered in this course
  • create and configure a web service project that works with Java objects
  • define a web service method that returns Java objects in a response
  • develop a client app that requests for and processes Java objects in a SOAP response
  • create a table in a database and connect to it from a Java app
  • code a client application that requests a web service for data from a database
  • define a web method that accepts a parameter from a client
  • set up an input parameter of a custom type for a web method that adds data to a database
  • set up a web method that performs a delete operation in a database
  • create a web method that carries out an update operation in a database
  • install and configure Apache Tomcat server
  • deploy your SOAP-based application as a WAR file to a Tomcat server
  • verify the behavior of a web service app deployed to a Tomcat server
  • summarize the key concepts covered in this course

Overview/Description
SOAP-based web services for Java applications offer a standardized and scalable means to communicate with external applications. In this course, you'll build a SOAP-based web service app for a fictitious book store that will enable client apps to view, add, update, and delete books whose details are stored in a database. Begin by defining a Book class whose instances can be transmitted between applications using the SOAP protocol. Then, integrate a MySQL database with the web services app and load it with data that will be made accessible to client applications using CRUD techniques. Lastly, host your web service application in a production environment by deploying it to an Apache Tomcat web server. When you're done, you'll know how to use the SOAP protocol to enable client apps to interact with a remote database.

Target

Prerequisites: none

Close Chat Live